package top.codedance.iotp.slave.service.slave.listenner;

import com.intelligt.modbus.jlibmodbus.utils.FrameEvent;
import com.intelligt.modbus.jlibmodbus.utils.FrameEventListener;

public class RtuListener implements FrameEventListener {
    @Override
    public void frameSentEvent(FrameEvent frameEvent) {
//        System.out.println(DataUtils.toAscii(frameEvent.getBytes()));
    }

    @Override
    public void frameReceivedEvent(FrameEvent frameEvent) {
//        System.out.println(DataUtils.toAscii(frameEvent.getBytes()));
    }
}
